package com.huanletao.springmvcdem.demos.web;


import java.util.StringJoiner;

public class MessageRequest {
    private String title;
    private String content;
    private Long userId;

    private String userTypeEnums;
;
    private String messageTypeEnums  ;
    private Long shopId;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserTypeEnums() {
        return userTypeEnums;
    }

    public void setUserTypeEnums(String userTypeEnums) {
        this.userTypeEnums = userTypeEnums;
    }

    public String getMessageTypeEnums() {
        return messageTypeEnums;
    }

    public void setMessageTypeEnums(String messageTypeEnums) {
        this.messageTypeEnums = messageTypeEnums;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", MessageRequest.class.getSimpleName() + "[", "]")
                .add("title='" + title + "'")
                .add("content='" + content + "'")
                .add("userId=" + userId)
                .add("userTypeEnums='" + userTypeEnums + "'")
                .add("messageTypeEnums='" + messageTypeEnums + "'")
                .add("shopId=" + shopId)
                .toString();
    }
}
